<extend name="./Base/base" />

<block name="main">
	<div class="row">
		<div class="panel">
			<div class="panel-heading bk-bg-primary">
				<h6><i class="fa fa-table red"></i><span class="break"></span>分类列表</h6>							
				<div class="panel-actions">								
					<a href="table.html#" class="btn-setting"><i class="fa fa-rotate-right"></i></a>
					<a href="table.html#" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
					<a href="table.html#" class="btn-close"><i class="fa fa-times"></i></a>
				</div>
			</div>
			<div class="panel-body">
				<div class="table-responsive">
					<table class="table">
						  <thead>
							  <tr>
								  <th>分类ID</th>
								  <th>分类名称</th>
								  <!-- <th>简介</th> -->
								  <th>操作</th>                                          
							  </tr>
						  </thead> 
						    
						  <tbody >
						  <foreach name="list" item="vo">	
							<tr>
								<td>{$vo.id}</td>
								
								<td>{$vo.name}</td>
								<!-- <td style="width:  120px;overflow: hidden;">{$vo.count}</td> -->
								
								<td>
									<a class="btn btn-success" href="{:U('category/category_add','id='.$vo['id'])}">
										<i class="glyphicon glyphicon-plus "></i>                                            
									</a>
									<a class="btn btn-info" href="{:U('category/category_save','id='.$vo['id'])}"  >
	                                    <i class="fa fa-edit "></i>                                            
	                                </a>
	                                <a class="btn btn-danger" href="{:U('category/category_delete','id='.$vo['id'])}" >
	                                    <i class="fa fa-trash-o "></i> 
	                                </a>
								</td>                                       
							</tr>
							</foreach>									                                  
						  </tbody>
					</table>
				</div>
				 <div class="green-black">{$page}</div>
			</div>
		</div>
	</div>
</block>
<block name="script_user">
</block>